package com.nipun.neural.objects.synapses;

import com.nipun.graph.objects.DirectedEdge;
import com.nipun.graph.objects.DirectedWeightedEdge;
import com.nipun.neural.objects.Neuron;
import com.nipun.neural.objects.Synapse;

public class SynapseImpl extends DirectedWeightedEdge implements Synapse {
	
	public SynapseImpl(Neuron n1, Neuron n2, double weight){
		super(n1,n2,weight);
	}

	public Neuron getNode1(){
		return (Neuron)super.getNode1();
	}
	
	public Neuron getNode2(){
		return (Neuron)super.getNode2();
	}
	
}
